#ifndef _SPI_H_
#define _SPI_H_


#include "public.h"


#define SOFT_SPI


void spi_init(void);
void spi_write(uint8_t ucByte);
uint8_t spi_read(void);
void spi_busy_enter(void);
void spi_busy_exit(void);
uint8_t spi_busy_check(void);

#endif


